import request from '@/utils/request'


// 查询列表
export function getMenuList (query) {
  return request({
    url: '/system/menu/list',
    method: 'get',
    params: query
  })
}

// 查询详情
export function getItemDetail (menuId) {
  return request({
    url: '/system/menu/' + menuId,
    method: 'get'
  })
}
